package com.yidu.erp.dao;

import java.util.List;

import com.yidu.erp.model.BeyondProlistmxsmall;

public interface BeyondProlistmxsmallMapper {
	/**
	 * 删除采购明细
	 * @param prolistmxId 采购明细订单
	 * @return
	 */
	int deleteByPrimaryKey(String prolistmxId);

	/**
	 * 增加采购明细
	 * @param mx 采购明细
	 * @return
	 */
	int insertSelective(BeyondProlistmxsmall mx);

	/**
	 * 修改采购明细
	 * @param record 明细
	 * @return
	 */
	int updateByPrimaryKeySelective(BeyondProlistmxsmall record);
	
	/**
	 * 根据id查询
	 * @param record 采购明细ID
	 * @return
	 */
	BeyondProlistmxsmall selectFd(String record);
	
	/**
	 * 根据订单id查询订单明细
	 * @param fdcureId 订单id
	 * @return 订单明细的集合
	 */
	public List<BeyondProlistmxsmall> selfdProlistmxsmall(String fdproId);
}